Skip to content

Fix issue 1303: Server crashes on executing SELECT * FROM agtype(null); (#1317)#1333

Merged
jrgemignani merged 1 commit intoapache:PG11from
Zainab-Saad:fix/issue_1303_PG11
Nov 1, 2023
Merged

Fix issue 1303: Server crashes on executing SELECT * FROM agtype(null); (#1317)#1333
jrgemignani merged 1 commit intoapache:PG11from
Zainab-Saad:fix/issue_1303_PG11

Conversation

@Zainab-Saad
Copy link
Contributor

This PR which is a fix for issue#1303 does the following:

  • Add additional checks for Const expression nodes for which the
    walker code would crash.

  • The server crashes for few other expr types too including Const,
    OpExpr, Var, BoolExpr and CoerceViaIO for which checks are added

  • Add regression tests

    * Add additional checks for Const expression nodes for which the
      walker code would crash.

    * The server crashes for few other expr types too including Const,
      OpExpr, Var, BoolExpr and CoerceViaIO for which checks are added

    * Add regression tests
@github-actions github-actions bot added the PG11 PostgreSQL11 label Oct 31, 2023
@jrgemignani jrgemignani requested a review from rafsun42 October 31, 2023 23:55
@jrgemignani jrgemignani merged commit e0c1b93 into apache:PG11 Nov 1, 2023
@Zainab-Saad Zainab-Saad deleted the fix/issue_1303_PG11 branch February 8, 2024 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PG11 PostgreSQL11

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants